Integrand size = 19, antiderivative size = 42 \[ \int (a+a \sec (c+d x))^n \sin (c+d x) \, dx=\frac {\operatorname {Hypergeometric2F1}(2,1+n,2+n,1+\sec (c+d x)) (a+a \sec (c+d x))^{1+n}}{a d (1+n)} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {3958, 67} \[ \int (a+a \sec (c+d x))^n \sin (c+d x) \, dx=\frac {(a \sec (c+d x)+a)^{n+1} \operatorname {Hypergeometric2F1}(2,n+1,n+2,\sec (c+d x)+1)}{a d (n+1)} \]
[In]
[Out]
Rule 67
Rule 3958
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int \frac {(a-a x)^n}{x^2} \, dx,x,-\sec (c+d x)\right )}{d} \\ & = \frac {\operatorname {Hypergeometric2F1}(2,1+n,2+n,1+\sec (c+d x)) (a+a \sec (c+d x))^{1+n}}{a d (1+n)} \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.00 \[ \int (a+a \sec (c+d x))^n \sin (c+d x) \, dx=\frac {\operatorname {Hypergeometric2F1}(2,1+n,2+n,1+\sec (c+d x)) (a (1+\sec (c+d x)))^{1+n}}{a d (1+n)} \]
[In]
[Out]
\[\int \left (a +a \sec \left (d x +c \right )\right )^{n} \sin \left (d x +c \right )d x\]
[In]
[Out]
\[ \int (a+a \sec (c+d x))^n \sin (c+d x) \, dx=\int { {\left (a \sec \left (d x + c\right ) + a\right )}^{n} \sin \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int (a+a \sec (c+d x))^n \sin (c+d x) \, dx=\int \left (a \left (\sec {\left (c + d x \right )} + 1\right )\right )^{n} \sin {\left (c + d x \right )}\, dx \]
[In]
[Out]
\[ \int (a+a \sec (c+d x))^n \sin (c+d x) \, dx=\int { {\left (a \sec \left (d x + c\right ) + a\right )}^{n} \sin \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int (a+a \sec (c+d x))^n \sin (c+d x) \, dx=\int { {\left (a \sec \left (d x + c\right ) + a\right )}^{n} \sin \left (d x + c\right ) \,d x } \]
[In]
[Out]
Time = 14.43 (sec) , antiderivative size = 64, normalized size of antiderivative = 1.52 \[ \int (a+a \sec (c+d x))^n \sin (c+d x) \, dx=\frac {\cos \left (c+d\,x\right )\,{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^n\,{{}}_2{\mathrm {F}}_1\left (1-n,-n;\ 2-n;\ -\cos \left (c+d\,x\right )\right )}{d\,{\left (\cos \left (c+d\,x\right )+1\right )}^n\,\left (n-1\right )} \]
[In]
[Out]